import Vue from 'vue'
import Router from 'vue-router'
// import App from '../App'
import login from '../components/login'
import  register from '../components/register'
import  relogin from '../components/relogin'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    // {
    //   path: '/login',
    //   name: 'login',
    //   component: 'login'
    // },
    {
      path: '/register',
      name: 'register',
      component: register
    },
    {
      path: '/relogin',
      name: 'relogin',
      component: relogin
    }
  ]
})
